export default class Worker {
  person(number) {
    this.user = number === 1 ? 'Alomy' : 'Kobe'
  }
  player() {
    this.work = this.user + '成为了篮球运动员'
  }
  coder() {
    this.work = this.user + '成为了程序员'
  }
  swimming() {
    this.bywork = this.user + '副业是游泳'
  }
  running() {
    this.bywork = this.user + '副业是跑步'
  }
}